<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>站长阿狸</title>
    {% load static %}
    <link href="{% static 'Fantasy/login.css' %}" rel="stylesheet">
</head>
<body style='text-align: center;background: url("{% static 'Fantasy/img/bg.jpg' %}") no-repeat;background-size: cover;'>
<div id="panel">
    <div class="panel-header">
        <h2>Fantasy用户注册</h2>
    </div>
    <div class="panel-content">
        <form action="{% url 'register' %}" method="POST">
            {% csrf_token %}
            {{ form }}

            <div class="user-pwd">
                <img src="{% static 'Fantasy/img/用户.png' %}" alt="图片">
                <label>
                    <input placeholder="请输入昵称" name="name">
                </label>
            </div>

            <div class="user-pwd">
                <img src="{% static 'Fantasy/img/用户.png' %}" alt="图片">
                <label>
                    <input placeholder="请输入账号/用户名" name="user">
                </label>
            </div>
            <div class="user-pwd">
                <img src="{% static 'Fantasy/img/密码.png' %}" alt="图片">
                <label>
                    <input placeholder="请输入密码" type="password" name="pwd">
                </label>
            </div>


            <input class="login-btn" type="submit" value="立即注册"/>
        </form>
    </div>
</div>


</body>
</html>
